package com.dongjiantong.user.model;

import java.util.Date;

public class RoleModule {
    private Long id;

    private Integer type;

    private Long parentId;

    private String name;

    private String code;

    private String order;

    private String url;

    private String infomation;

    private Date createdAt;

    private Date updatedAt;

    public RoleModule(Long id, Integer type, Long parentId, String name, String code, String order, String url, String infomation, Date createdAt, Date updatedAt) {
        this.id = id;
        this.type = type;
        this.parentId = parentId;
        this.name = name;
        this.code = code;
        this.order = order;
        this.url = url;
        this.infomation = infomation;
        this.createdAt = createdAt;
        this.updatedAt = updatedAt;
    }

    public RoleModule() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order == null ? null : order.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getInfomation() {
        return infomation;
    }

    public void setInfomation(String infomation) {
        this.infomation = infomation == null ? null : infomation.trim();
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
}